package com.zkx.fssb.domain.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Flower implements Serializable {

    @TableId(value = "flower_id",type = IdType.AUTO)
    private Integer flowerId;

    private String flowerName;

    private String flowerImg;

    private Double flowerPrice;

    private Integer flowerStatus;

    private String flowerDetail;

    private Integer flowerStock;

    private String flowerDescription;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;





}
